<template>
  <div class="box">
    <header class="header">
      <van-search v-model="value" show-action  placeholder="请输入搜索关键词" @search="onSearch">
        <template #left>
          <van-icon name="apps-o" />
        </template>
        <template #action>
          <div :icon="apps-o" @click="onClickButton">搜索</div>
        </template>
      </van-search>
    </header>
    <main class="content">1</main>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped></style>